from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    PROJECT_NAME: str = "人员管理系统"
    VERSION: str = "1.0.0"
    API_V1_STR: str = "/api"
    
    # 数据库配置
    SQLITE_URL: str = "sqlite:///./sql_app.db"
    
    # JWT配置
    SECRET_KEY: str = "your-secret-key-here"
    ALGORITHM: str = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES: int = 1440

    class Config:
        case_sensitive = True

settings = Settings() 